<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: E:/knet-git/knet/knet/address.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>结构体</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">address.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a00045_source.html">address.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html">_address_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a1a1e0dffc03ea50995d5db10e17865f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00056_a44e99fab0348ec54cfee119ddd9ceed6.html#a44e99fab0348ec54cfee119ddd9ceed6">kaddress_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00044_a1a1e0dffc03ea50995d5db10e17865f5.html#a1a1e0dffc03ea50995d5db10e17865f5">knet_address_create</a> ()</td></tr>
<tr class="memdesc:a1a1e0dffc03ea50995d5db10e17865f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个kaddress_t实例  <a href="a00044_a1a1e0dffc03ea50995d5db10e17865f5.html#a1a1e0dffc03ea50995d5db10e17865f5">更多...</a><br /></td></tr>
<tr class="separator:a1a1e0dffc03ea50995d5db10e17865f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d8753e0c57b30294243ee26881e7650"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00044_a6d8753e0c57b30294243ee26881e7650.html#a6d8753e0c57b30294243ee26881e7650">knet_address_destroy</a> (<a class="el" href="a00056_a44e99fab0348ec54cfee119ddd9ceed6.html#a44e99fab0348ec54cfee119ddd9ceed6">kaddress_t</a> *address)</td></tr>
<tr class="memdesc:a6d8753e0c57b30294243ee26881e7650"><td class="mdescLeft">&#160;</td><td class="mdescRight">销毁一个kaddress_t实例  <a href="a00044_a6d8753e0c57b30294243ee26881e7650.html#a6d8753e0c57b30294243ee26881e7650">更多...</a><br /></td></tr>
<tr class="separator:a6d8753e0c57b30294243ee26881e7650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a929d17892b34acdbdbc1ff8e8d0f9c71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00044_a929d17892b34acdbdbc1ff8e8d0f9c71.html#a929d17892b34acdbdbc1ff8e8d0f9c71">knet_address_set</a> (<a class="el" href="a00056_a44e99fab0348ec54cfee119ddd9ceed6.html#a44e99fab0348ec54cfee119ddd9ceed6">kaddress_t</a> *address, const char *ip, int port)</td></tr>
<tr class="memdesc:a929d17892b34acdbdbc1ff8e8d0f9c71"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置IP和端口  <a href="a00044_a929d17892b34acdbdbc1ff8e8d0f9c71.html#a929d17892b34acdbdbc1ff8e8d0f9c71">更多...</a><br /></td></tr>
<tr class="separator:a929d17892b34acdbdbc1ff8e8d0f9c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1ea22192168bb6baea88feeb20eb601"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00111_gaa1ea22192168bb6baea88feeb20eb601.html#gaa1ea22192168bb6baea88feeb20eb601">address_get_ip</a> (<a class="el" href="a00056_a44e99fab0348ec54cfee119ddd9ceed6.html#a44e99fab0348ec54cfee119ddd9ceed6">kaddress_t</a> *address)</td></tr>
<tr class="memdesc:gaa1ea22192168bb6baea88feeb20eb601"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得IP  <a href="a00111_gaa1ea22192168bb6baea88feeb20eb601.html#gaa1ea22192168bb6baea88feeb20eb601">更多...</a><br /></td></tr>
<tr class="separator:gaa1ea22192168bb6baea88feeb20eb601"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9acaa00fe11bcecadea350baf9da7172"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00111_ga9acaa00fe11bcecadea350baf9da7172.html#ga9acaa00fe11bcecadea350baf9da7172">address_get_port</a> (<a class="el" href="a00056_a44e99fab0348ec54cfee119ddd9ceed6.html#a44e99fab0348ec54cfee119ddd9ceed6">kaddress_t</a> *address)</td></tr>
<tr class="memdesc:ga9acaa00fe11bcecadea350baf9da7172"><td class="mdescLeft">&#160;</td><td class="mdescRight">取得port  <a href="a00111_ga9acaa00fe11bcecadea350baf9da7172.html#ga9acaa00fe11bcecadea350baf9da7172">更多...</a><br /></td></tr>
<tr class="separator:ga9acaa00fe11bcecadea350baf9da7172"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 27日 星期一 14:33:19 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
